<?php

App::uses('AppModel', 'Model');

class UserTypes extends AppModel {
    var $useTable = "user_types";
    
    
    
    public  function  getTypePublic ()  { 
        
      $usersTypes=array('conditions'    => "id_user_types in (3,4)",
                         'fields' => array('id_user_types', 'name'));
       
      
        return $this->find('all', $usersTypes);
         
}


}
?>